#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QPushButton>
#include "downloadtable.h"
#include "urltable.h"
#include "downloader.h"
#include "databasesetting.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    DataBaseSetting *dbSetting;
    DownloadTable *downloadTable;
    UrlTable *urlTable;
    Downloader *downloader;

private slots:
    void addTaskBtnClicked();
};

#endif // MAINWINDOW_H
